diff options
| author | Factiven <[email protected]> | 2023-05-09 19:27:06 +0700 |
|---|---|---|
| committer | Factiven <[email protected]> | 2023-05-09 19:27:06 +0700 |
| commit | 565d68433b0bd19097048dc418073f3acffd95a9 (patch) | |
| tree | caeacf5a945fa3c1a69613da036cd44d4839c9ca /pages/anime/watch/[...info].js | |
| parent | Revamped 404 page (diff) | |
| download | moopa-565d68433b0bd19097048dc418073f3acffd95a9.tar.xz moopa-565d68433b0bd19097048dc418073f3acffd95a9.zip | |
Update v3.5.5
Diffstat (limited to 'pages/anime/watch/[...info].js')
| -rw-r--r-- | pages/anime/watch/[...info].js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pages/anime/watch/[...info].js b/pages/anime/watch/[...info].js index 3a779a5..13b9980 100644 --- a/pages/anime/watch/[...info].js +++ b/pages/anime/watch/[...info].js @@ -3,11 +3,8 @@ import Link from "next/link"; import { closestMatch } from "closest-match"; import Head from "next/head"; import { useEffect, useState } from "react"; -import Modal from "../../../components/modal"; import dynamic from "next/dynamic"; -import { useNotification } from "../../../lib/useNotify"; - import { getServerSession } from "next-auth/next"; import { authOptions } from "../../api/auth/[...nextauth]"; @@ -262,7 +259,7 @@ export default function Info({ sessions, id, aniId, provider }) { const artwork = poster && poster.length > 0 - ? [{ src: poster[0].image, type: "image/jpeg" }] + ? [{ src: poster[0].image, sizes: "512x512", type: "image/jpeg" }] : undefined; mediaSession.metadata = new MediaMetadata({ @@ -460,7 +457,7 @@ export default function Info({ sessions, id, aniId, provider }) { <h1 className="text-xl font-karla pl-4 pb-5 font-semibold"> Up Next </h1> - <div className="grid gap-5 lg:px-5 px-2 py-2 scrollbar-thin scrollbar-thumb-[#313131] scrollbar-thumb-rounded-full"> + <div className="flex flex-col gap-5 lg:pl-5 px-2 py-2 scrollbar-thin scrollbar-thumb-[#313131] scrollbar-thumb-rounded-full"> {data ? ( data.episodes.length > 0 ? ( data.episodes.some( |